# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=stagit
pkgver=1.2
pkgrel=3
pkgdesc="static git page generator"
url="https://www.codemadness.org/stagit.html"
arch="all"
license="MIT"
options="!check" # No tests exist
makedepends="libgit2-dev"
subpackages="$pkgname-doc"
source="https://codemadness.org/releases/stagit/stagit-$pkgver.tar.gz"

build() {
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" MANPREFIX=/usr/share/man install
}

sha512sums="
f9d9f157145b47a14b5ff098e3db261b4739145e5e7cf2a273e188fc8617681dc9b7b9737de2182334bb9a50bef061ebee452ccbc1e013e14f2ef8c4a4c32d0b  stagit-1.2.tar.gz
"
